#---------
#
# CppUTest Examples Makefile
#
#----------

#Set this to @ to keep the makefile quiet
ifndef SILENCE
	SILENCE = @
endif

#--- Inputs ----#
COMPONENT_NAME = Mytest
CPPUTEST_HOME = ../..
CC := gcc
CFLAGS :=-g -Wall
CFALGS += -std=c99
CFALGS += -D CPPUTEST

CPP :=g++
CPPFLAGS :=-g -Wall
CPPFLAGS += -I$(CPPUTEST_HOME)/include

LDFLAGS := -L$(CPPUTEST_HOME)/lib -lCppUTest

#CPPUTEST_USE_EXTENSIONS = Y
#CPP_PLATFORM = Gcc

#CPPUTEST_CFLAGS += -Wall -Wstrict-prototypes -pedantic


# This line is overriding the default new macros.  This is helpful
# when using std library includes like <list> and other containers
# so that memory leak detection does not conflict with stl.
#CPPUTEST_MEMLEAK_DETECTOR_NEW_MACRO_FILE = -include ApplicationLib/ExamplesNewOverrides.h

test: tests/AllTests.o tests/SprintTest.o
	$(CPP) -o $@  tests/AllTests.o tests/SprintTest.o $(LDFLAGS)
	
	
